um\core\Files D

Total Complexity 156
Dependencies 1
Dependents 1
Total lines 1,287
Lines of code 635
Logical lines of code 418
Comment lines 386
Methods 35
Properties 3

Methods 35

Method Rating Maintainability Complexity Lines of code
create_and_copy_image()
B
42 16 50
download_routing()
A
44 13 48
ajax_remove_file()
A
46 12 37
remove_old_files()
A
50 12 28
ajax_image_upload()
A
46 10 36
ajax_resize_image()
A
49 8 28
ajax_file_upload()
A
46 7 37
image_download()
S
48 7 30
file_download()
S
48 7 30
setup_paths()
S
52 7 23
get_profile_photo_size()
S
55 7 19
fix_image_orientation()
S
56 6 19
delete_core_user_photo()
S
56 6 17
get_image_data()
S
49 4 29
remove_dir()
S
62 4 12
resize_image()
S
50 3 27
delete_file()
S
61 3 13
get_download_link()
S
59 2 13
__construct()
S
51 1 27
allowed_file_types()
S
52 1 24
format_bytes()
S
62 2 10
new_user()
S
67 2 7
in_array()
S
71 2 6
get_fonticon_by_ext()
S
69 2 7
get_fonticon_bg_by_ext()
S
69 2 7
get_extension_by_mime_type()
S
75 1 4
make_dir()
S
72 1 5
new_file_upload_temp()
S
68 1 7
new_image_upload_temp()
S
67 1 7
upload_temp_file()
S
80 1 3
new_user_upload()
S
76 1 4
path_only()
S
80 1 3
allowed_image_types()
S
67 1 8
unique_dir()
S
70 1 6
get_file_data()
S
76 1 4